package com.csst.business.service;

import java.util.List;

import com.csst.business.model.BOnline;
import com.csst.business.model.TCompany;
import com.csst.business.model.TTrUser;

public interface IOnlineService {
	
	public TTrUser getUserById(String id);

	public BOnline saveOnline(BOnline online);
	
	public List<BOnline> getOnlineList(String userId);

	public int getOrderTotle();

	public List<BOnline> getAllOnlineList(int i, int j);

	public boolean deleteOrderById(String id);

	public int getOrderTotle(String openID);

	public List<BOnline> getAllOnlineList(String openID, int startNum,
			int endNum);    
}  
